const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  publicPath: process.env.NODE_ENV === "development" ? "./" : "/xmldesign",
  outputDir: "dist",
  productionSourceMap: false,
  transpileDependencies: true,
  devServer: {
    open: true,
    port: 8080,
    hot: true,
    client: {
      overlay: false
    },
    headers: {
      "Access-Control-Allow-Origin": "*"
    }
  }
});
